<!DOCTYPE html>
<html>
<head>
    <title></title>
    <meta charset="utf-8">
    <!-- 指定以IE8的方式来渲染 -->
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
    <link rel="shortcut icon" href="<%=path%>/images/favicon.ico" type="image/x-icon"/>
    <link rel="stylesheet" type="text/css"
          href="${request.contextPath}/statics/plugins/easyui-1.3.5/themes/default/easyui.css"/>
    <link rel="stylesheet" type="text/css" href="${request.contextPath}/statics/plugins/easyui-1.3.5/themes/icon.css"/>
    <link type="text/css" rel="stylesheet" href="${request.contextPath}/statics/css/common.css"/>
    <script type="text/javascript" src="${request.contextPath}/statics/libs/jquery.min.js"></script>
    <script type="text/javascript"
            src="${request.contextPath}/statics/plugins/easyui-1.3.5/jquery.easyui.min.js"></script>
    <script type="text/javascript"
            src="${request.contextPath}/statics/plugins/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript" src="${request.contextPath}/statics/plugins/easyui-1.3.5/outlook.js"></script>
    <script type="text/javascript" src="${request.contextPath}/statics/js/main.js"></script>
</head>
<body class="easyui-layout" style="overflow-y: hidden" scroll="no">
<script>
    var pageid = getUrlParam('menuId');  //获取传值id
    console.log(pageid)

    //初始化界面
    $(function () {
        //初始化菜单
        initTree(pageid);
    });

    function NewTab(name, url, funId) {
        window.funId = funId;
        addTab(name, url, '');
    }



    //初始化系统基础信息
    function initTree(menuId) {
        $('#tt').tree({
            url: "${request.contextPath}/sys/menu/findMenuByDesk?menuId="+menuId,
            animate: true
        });

    }




</script>

<div region="west" hide="true" split="true" title="导航菜单" style="width:125px;" id="west">
    <div id="nav" fit="true" border="false">
        <!--  导航内容 -->
        <div>
            <ul id="tt"></ul>
        </div>
    </div>
</div>
<div id="mainPanle" region="center" style="background: #eee; overflow-y: hidden">
    <div id="tabs" class="easyui-tabs" fit="true" border="false"></div>
</div>
<div id="mm" class="easyui-menu" style="width: 120px;">
    <div id="mm-tabupdate">
        刷新
    </div>
    <div class="menu-sep">
    </div>
    <div id="mm-tabclose">
        关闭
    </div>
    <div id="mm-tabcloseall">
        全部关闭
    </div>
    <div id="mm-tabcloseother">
        关闭其他页
    </div>
    <div class="menu-sep">
    </div>
    <div id="mm-tabcloseright">
        关闭右侧页面
    </div>
    <div id="mm-tabcloseleft">
        关闭左侧页面
    </div>
    <div class="menu-sep">
    </div>
    <div id="mm-version">
        华夏ERP官网
    </div>
</div>
</body>
</html>